package com.ydgg.ltar.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ydgg.ltar.model.AreaGift;
import com.ydgg.ltar.model.AreaGiftExample;

@Repository
public interface AreaGiftMapper {
    int countByExample(AreaGiftExample example);

    int deleteByExample(AreaGiftExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AreaGift record);

    int insertSelective(AreaGift record);

    List<AreaGift> selectByExample(AreaGiftExample example);

    AreaGift selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AreaGift record, @Param("example") AreaGiftExample example);

    int updateByExample(@Param("record") AreaGift record, @Param("example") AreaGiftExample example);

    int updateByPrimaryKeySelective(AreaGift record);

    int updateByPrimaryKey(AreaGift record);
    
    List<Map<String,Object>> selectByPage(Map<String, Object> param);
}